/**
 * 
 */
package travibot.engine;

import java.util.Date;

/**
 * Interface for scheduled tasks. It adds one more method - getScheduledTime in
 * addition to standard task interface. It also uses another queue (ordered by
 * date - thus <i>compareTo()</i> method MUST be implemented correctly by the
 * date, otherwise the correct execution cannot be guaranteed) and has priority
 * to the standard tasks.
 * 
 * Intended use is for planned attacks, unit transfers, ... etc.
 * 
 * @author Petr Macek
 * 
 */
public interface ScheduledTask extends Task {

    /**
     * Time for which is the task scheduled.
     * 
     * @return
     */
    Date getScheduledTime();
}
